package com.woniu.cms.auth.core.service;

import com.woniu.cms.auth.core.entity.Position;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cms.auth.core.vo.PositionVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lilili
 * @since 2022-09-16
 */
public interface IPositionService extends IService<Position> {

    List<PositionVo> getAll();

    Boolean commit(String positionName, String companyName);

    boolean updatePosition(PositionVo positionVo);

    boolean removePosition(Integer id);

    List<String> getUserByPositionName(String name);

    List<Integer> getUserIdByPositionName(String name);
}
